package org.x.usermod.entity;

import com.mybatisflex.annotation.Column;
import com.mybatisflex.annotation.Table;
import lombok.Data;

import java.time.LocalDateTime;

@Data
@Table(value = "lawyer")
public class LawyerEntity {
    @Column(value = "id")
    private Long id;
    @Column(value = "user_id")
    private Long userId;
    @Column(value = "bar_id")
    private String barId;
    @Column(value = "specialty")
    private String[] specialty;
    @Column(value = "practice_year")
    private Integer practiceYear;
    @Column(value = "introduction")
    private String introduction;
    @Column(value = "service_area")
    private String serviceArea;
    @Column(value = "is_certified")
    private Integer isCertified;
    @Column(value = "certification_time")
    private LocalDateTime certificationTime;
    @Column(value = "status")
    private String status;
}
